The value of current i in the circuit shown in figure is